# Makefile for sequence list.
# Programmer's name: Harry Wei.
# Time && place: 2011, 3, 21. @ linux lab in Xiyou.

CC		= gcc
CFLAGS		= -pipe -O2 -Wall -o
OBJ		= -c
SOURCES		= sl.c sl_funcs.c
OBJECTS		= sl.o sl_funcs.o
TARGET		= sl
DEL_FILE	= rm -f

all: Makefile $(TARGET)
$(TARGET):$(OBJECTS)
	$(CC) $^ $(CFLAGS) $@
$(OBJECTS):$(SOURCES)
	$(CC) $(OBJ) $^

clean:
	$(DEL_FILE) $(OBJECTS)
